package com.ruoyi.common.constant;

/**
 * 通用常量信息
 * 
 * @author ruoyi
 */
public class Constants
{
    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";

    /**
     * GBK 字符集
     */
    public static final String GBK = "GBK";

    /**
     * 通用成功标识
     */
    public static final String SUCCESS = "0";

    /**
     * 通用失败标识
     */
    public static final String FAIL = "1";

    /**
     * 登录成功
     */
    public static final String LOGIN_SUCCESS = "Success";

    /**
     * 注销
     */
    public static final String LOGOUT = "Logout";

    /**
     * 注册
     */
    public static final String REGISTER = "Register";

    /**
     * 登录失败
     */
    public static final String LOGIN_FAIL = "Error";

    /**
     * 当前记录起始索引
     */
    public static final String PAGE_NUM = "pageNum";

    /**
     * 每页显示记录数
     */
    public static final String PAGE_SIZE = "pageSize";

    /**
     * 排序列
     */
    public static final String ORDER_BY_COLUMN = "orderByColumn";

    /**
     * 排序的方向 "desc" 或者 "asc".
     */
    public static final String IS_ASC = "isAsc";

    /**
     * 参数管理 cache name
     */
    public static final String SYS_CONFIG_CACHE = "sys-config";

    /**
     * 参数管理 cache key
     */
    public static final String SYS_CONFIG_KEY = "sys_config:";

    /**
     * 字典管理 cache name
     */
    public static final String SYS_DICT_CACHE = "sys-dict";

    /**
     * 字典管理 cache key
     */
    public static final String SYS_DICT_KEY = "sys_dict:";

    /**
     * 资源映射路径 前缀
     */
    public static final String RESOURCE_PREFIX = "/profile";
    /**
     * 参数键值
     */
    public static final String LF_CONFIG_KEY = "lf_config" ;
    /**
     * 参数缓存块名称
     */
    public static final String LF_CONFIG_CACHE ="lf-config" ;
    /**
     * 会话用户键
     */
    public static final String APP_USER = "appUser";
    /**
     * 任务缓存键
     */
    public static final String LF_TASK_KEY = "lf_task_key";
    /**
     * 任务缓存名称
     */
    public static final String LF_TASK = "lf_task";
    /**
     * 套餐级别缓存键
     */
    public static final String LF_LEVEL_KEY = "lf_level_key";
    /**
     * 套餐级别缓存名称
     */
    public static final String LF_LEVEL = "lf_level";
    /**
     * 提现审核状态
     */
    public static final String SYS_WITHDRAW_CHECK_STATE = "sys_withdraw_check_state";       /**
     * 审核状态
     */
    public static final String SYS_CHECK_STATE = "sys_check_status";
    /**
     * 状态通过
     */
    public static final String SYS_CHECKED= "通过";
    /**
     * 状态失败
     */
    public static final String SYS_FALL= "失败";
    /**
     * 状态申请中
     */
    public static final String SYS_APPLY= "申请中";
    /**
     * 状态付款
     */
    public static final String SYS_PAYMENT= "付款";
    /**
     * 100
     */
    public static final int HUNDRED = 100;
    /**
     * 对以这路径开头的不拦截
     */
    public static final String APP_RELEASE_PATH = "/front/release,/front/css,/front/js,/front/fonts,/front/images,/front/swiper";
    /**
     * app登录路径
     */
    public static final String APP_LOGIN_PATH = "/front/release/toLogin";
    /**
     * 对以这路径开头的拦截
     */
    public static final String APP_PATH = "/front";
    public static final String LF_NOTE_CODE = "lf-note-code";
    public static final String LF_INCOME = "lf-income";
}
